import {createStore} from 'vuex'
import user from './modules/user.js'

//模块化vuex
const store = createStore({
    //将仓库分成若干个小仓库
    modules:{
        user
    }
})

export default store;